﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream
{
    class Subtract: Calculate
    {
        public int Sub { get; set; }
        public void Jian() 
        {
            this.A = A;
            this.B = B;
        }
        public override void DisplayResult(int A, int B) 
        {
            Sub = A - B;
            Console.WriteLine(Sub);
        }
    }
}
